package com.gjy.mybatis.domain;

import com.gjy.mybatis.annotation.Masking;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-09-29 11:03:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Author implements Serializable {

    private Integer id;
    private String firstName;
    @Masking
    private String lastName;
    private String gender;
    private LocalDateTime createdTime;
    private LocalDateTime modifiedTime;
    private String region;

}
